MDL

Section: Misc. Reference Manual Pages (1 )
Index Return to Main Contents
 

NAME

mdl - display DL animations in monochrome ST  

SYNOPSIS

mdl [-v] [-h] [-s] [-z] [-r fps] [-b beta] [-n noise] [-i intens] [file]  

DESCRIPTION

mdl reads a file in DL format and displays the animation in that file on a monochrome (only) Atari ST. The DL file is read from either the standard input or the specified file. The program runs on monochrome 640 by 400 displays only.

Once the program starts, it should NOT be killed with ^C (because there is no signal handler to catch ^C and reset screens). After the animation starts, any key will cause the program to exit.  

OPTIONS

The following command line options are recognized:
-v
Verbose. Print progress info to stdout while building the images.
-h
Print help info and exit.
-s
Single (dithered) image. Do not set up the three "flicker" images for each frame. Speeds up setup but not playback.
-z
If the animation is in medium format (160 x 100) it will be zoomed up to large format (320 x 200). If the animation is in large format this switch will be ignored.
-r fps
Determines the rate of the animation, i.e., how many frames per second that should be displayed. The minimum is 1 and the default is 25. The maximum on an ST is probably about 100.
-b beta
Apply a Laplace filter to the image. Tends to sharpen up the image. Values for beta start at 0 and increase. A value of 0 means do not apply the filter (same as omitting the -b switch). A value of 4 is usually good.
-n noise
Add an amount of random noise to the images. Tends to help some flickered images. Values for noise range from 0 to 255. A value of 0 means no noise. A value of 10 is usually good.
-i intens
Increase (or decrease) the intensity of every pixel by this amount. intens range from -255 to 255. Adjusted values will be bounded by 0 and 255.
 

EXAMPLES

Most DL files I have seen run best between 8 and 15 frames per second. mdl is fairly accurate in the frame rate (though it was only clocked at 1 fps).

Display the animation foo.dl at 25 frames per second.

mdl foo.dl

Display the animation fie.dl, zoomed to large format, at 12 frames per second.

mdl -z -r 12 fie.dl
 

BUGS

None that I have found. However, the program is a one day hack: it uses Setscreen(2x) to rapidly switch between images. It probably won't run on a color system (without hacking the color palette) and it won't run on any display that is not 640 by 400. You get what you pay for!

The program has had limited testing (only a few .dl files were available) with only version 2 medium format files.

Report bugs to rosenkra@convex.com. The other authors won't know what you are talking about.  

AUTHOR

Bill Rosenkranz <rosenkra@convex.com> using flicker code from my MGIF program (which was based on code by Klaus Pedersen <micro@imada.dk>).

Jonas Yngvesson <jonas-y@isy.liu.se> for the X Windows xdl.

The program is derived from dltogl by George Phillips <phillips@cs.ubc.ca>

The suggestion (and code) to allow the user to set the animation rate (in xdl) came from Per Beremark <per.beremark@telelogic.se>


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 16:11:27 GMT, September 10, 2022